/* 
 * File:   CalendarManager.h
 * Author: Muqtafi Akhmad
 *
 * Created on November 2, 2012, 10:41 AM
 */

#ifndef CALENDARMANAGER_H
#define	CALENDARMANAGER_H

#include <iostream>
#include "../Calendar/Calendar.h"

using namespace std;

class CalendarManager{
public : 
    CalendarManager();
    CalendarManager(vector<Calendar>&);
    CalendarManager(CalendarManager&);
    CalendarManager& operator=(CalendarManager&);
    ~CalendarManager();
    
    bool IsExistCalendar(long entryNo);
    void DeleteCalendar(long entryNo);
    Calendar& GetCalendar(long entryNo);
    void AddCalendar(Calendar& calendar);
    
    void SetCalendars(vector<Calendar>& _calendars);
    vector<Calendar>& GetCalendars();
    
private : 
    vector<Calendar> calendars;
};

#endif	/* CALENDARMANAGER_H */

